<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/taglibs.jsp" %>


<h1>
	<fmt:message key="permission.form.pagetitle" />
</h1>
<c:url var="viewPermsUrl" value="/admin/perm/list" />
<a href="${viewPermsUrl}"><fmt:message key="permission.view.title" />
</a>
<br />
<br />

<c:url var="savePermissionUrl" value="/admin/perm/save" />
<form:form modelAttribute="permission" method="POST"
	action="${savePermissionUrl}">
	<form:hidden path="id" />
	<table collspadding="0px" border="0px" width="800px">
		<tr>
			<td width="80px"><form:label path="name">
					<fmt:message key="permission.form.name" />:</form:label>
			</td>
			<td width="200px"><form:input path="name" />
			</td>
			<td width="200px"><form:errors path="name" cssClass="formerror" />
			</td>
		</tr>
		<tr>
			<td></td>
			<td><input type="submit"
				value="<fmt:message key="buttons.save"/>" />
			</td>
			<td></td>
		</tr>
	</table>

</form:form>
